#include <linux/uaccess.h>
#include <linux/string.h>

//TODO
long strncpy_from_user(char *dst, const char *src, long count)
{
    long len;

    len = strlen(src);
    strncpy(dst, src, count);
    if (len > count)
        len = count;

    return len;
}
